<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>测试js的md5</title>
    <script src="zujian/han/han.js"></script>
</head>
<body>
<script type="text/javascript">
    //  fce558ad400ac3353f22229aaec7b64c
    hwrite(wxhexmd5('123234324'),'12312','123123')
    // FCE558AD400AC3353F22229AAEC7B64C
    hwrite(wxhexmd5('123234324').toUpperCase(),'12312','123123')
    //都是32位的不管源码多长
    hwrite(wxhexmd5('123234324').toUpperCase().length,'12312','123123')
    //总是32位的,不管源码多长
    hwrite(wxhexmd5('123234324').length,'12312','123123')
    //总是32位的
    hwrite(wxhexmd5('dsfasdfsadf').length,'12312','123123')
</script>
</body>
</html>